package com.google.code.coma.assembly;

import com.google.code.coma.worker.AbstractWorker;
import com.google.code.coma.worker.Worker;

import java.util.UUID;

/**
 */
public abstract class AbstractAssemblyWorker extends AbstractWorker implements Worker {
    private final String workerId = "assembly_worker" + UUID.randomUUID().toString();

	protected AbstractAssemblyWorker(String factoryId) {
		super(factoryId);
	}

	@Override
    public String getWorkerId() {
        return workerId;
    }
}
